<!--首页-->
<!DOCTYPE html>
<!--thymeleaf需要引入th命名空间-->
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{layout/layout}">
<head>
    <title>首页</title>
</head>
<body>
    <main layout:fragment="main">
        <h1>欢迎来到首页！</h1>
    </main>
</body>
</html>